package pattern;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Simon
 */
@SpringBootApplication
@EnableAdminServer
public class SpringBootAdminApplication {

    public static void main(String[] args) {
        System.getProperties().put("server.port", 18080);
        System.getProperties().put("spring.security.user.name", "admin");
        System.getProperties().put("spring.security.user.password", "admin123.");

        SpringApplication.run(SpringBootAdminApplication.class, args);
    }
}
